import { createStore, combineReducers, applyMiddleware } from 'redux';
import logger from 'redux-logger';
import userReducer from './user'

//combineReducers 方法中可以传入多个状态模型，管理不同的状态
export default createStore(combineReducers({ user: userReducer }), {}, applyMiddleware(logger));
